-- Original right click menu idea, Slavon, redone completely by chaos.
-- further modifications added by lysergicacid aka azrael aka cr45h & Burn (added trivia and other bot functions)
-- notes: this script requires kenny2.lua roulette.lua trivia.lua Ezechiele.lua chatstats.lua
-- for all functions to work, also on older verlihub setups all commands might not work
-- you will also need to alter some commands in this script to match the setup of your scripts
-- recommended for use with 0.9.8c (Mon Jan 22 16:00 GMT 2007) of VerliHub or later cvs date
-- script completed 29/01/2007

hubmenu = ".::Admin Menu::."
usermenu = ".::User Menu::."
opmenu = ".::Op Menu::."
function VH_OnUserLogin(nick)
VH:SendDataToUser("$UserCommand 0 3|", nick)
if GetClass(nick) == 0 then
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Hub rules::.$<%[mynick]> +rules&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Hub FAQ::.$<%[mynick]> +faq&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Hub help::.$<%[mynick]> +help&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::My IP Address::.$<%[mynick]> +myip&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::My Info::.$<%[mynick]> +myinfo&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Request registration::.$<%[mynick]> +regme&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Report selected user to Operators::.$<%[mynick]> +report %[nick] %[line:Reason]!&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
end
if GetClass(nick) > 0 then
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Hub rules::.$<%[mynick]> +rules&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Hub FAQ::.$<%[mynick]> +faq&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Hub help::.$<%[mynick]> +help&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Report selected user to Operators::.$<%[mynick]> +report %[nick] %[line:Reason]!&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::My IP Address::.$<%[mynick]> +myip&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::My Info::.$<%[mynick]> +myinfo&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Send a user an Offline Msg::.$<%[mynick]> +msgsend %[line:Username] %[line:Subject]\n%[line:Message to send]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 0 3|", nick)
end
if GetClass(nick) >= 0 then
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Chat Stats::.\\Show your stats$<%[mynick]> @mystats&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Chat Stats::.\\Show <nick> stats$<%[mynick]> @showstats %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Chat Stats::.\\top emoticon user$<%[mynick]> @top smiley&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Chat Stats::.\\Top chatter$<%[mynick]> @top post&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Chat Stats::.\\Top typed txt user$<%[mynick]> @top char&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..usermenu.."\\.::Chat Stats::.\\Longest time spent typing$<%[mynick]> @top time&#124;|", nick)
end
if GetClass(nick) >= 3 then
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Message OpChat::.\\$<%[mynick]> !opm %[line:Enter your message here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::User Info::.\\Get user info$<%[mynick]> !getinfo %[nick]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::User Info::.\\Get user ip$<%[mynick]> !getip %[nick]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::User Info::.\\Get user host$<%[mynick]> !gethost %[nick]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::User Info::.\\Get registration info$<%[mynick]> !reginfo %[nick]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::User Info::.\\Find IP owner$<%[mynick]> !whoip %[line:Type the IP address here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::User Control::.\\Kick and ban selected user$<%[mynick]> !kick %[nick] %[line:Reason] _ban_%[line:Ban time in days]_&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::User Control::.\\Unban a user$<%[mynick]> !unban %[line:Nick or IP address] %[line:Please enter a reason]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Registration::.\\Register a user$<%[mynick]> !rn %[line:nick] %[line:Type a user class 1/10]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Registration::.\\Register this user$<%[mynick]> !rn %[nick] %[line:Type a user class 1/10]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Registration::.\\Set this users password$<%[mynick]> !regpass %[nick] %[line:New password]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Registration::.\\Reset a users password$<%[mynick]> !regpass %[line:nick] %[line:New password]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Registration::.\\Change a users class$<%[mynick]> !regclass %[line:nick] %[line:New Class]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Registration::.\\Change this users class$<%[mynick]> !regclass %[nick] %[line:New Class]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Registration::.\\Delete a user$<%[mynick]> !regdelete %[line:nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Registration::.\\Delete this user$<%[mynick]> !regdelete %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Chat::.\\clean the main chat$<%[mynick]> !clean&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Chat::.\\Send a user an Offline Msg$<%[mynick]> +msgsend %[line:Username] %[line:Subject]\n%[line:Message to send]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Chat::.\\Gag this user $<%[mynick]> !gag %[nick] %[line:time]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Chat::.\\Ungag this user$<%[mynick]> !ungag %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Chat::.\\Kennylize this user$<%[mynick]> !kenny add %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Chat::.\\Un kennylize this user$<%[mynick]> !kenny del %[nick]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Chat::.\\Prevent this users PMs$<%[mynick]> !nopm %[nick] %[line:time]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Chat::.\\Allow this users PMs$<%[mynick]> !unnopm %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Extra::.\\Get bot settings$<%[mynick]> !gs&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Extra::.\\Get Extra Help$<%[mynick]> !extrahelp&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Extra::.\\Fake a nick$<%[mynick]> !say %[line:fakename] %[line:text to say]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Extra::.\\Send a mass message$<%[mynick]> !mass %[line:message to send]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Extra::.\\Show Hub Record$<%[mynick]> !record %[line: user or share]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Extra::.\\Show this users information$<%[mynick]> !ui %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Extra::.\\Show complete myinfo string of this user$<%[mynick]> !myi %[nick]&#124;|", nick)
end
if GetClass(nick) >= 4 then
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Files::.\\Add bad files tth$<%[mynick]> !tth add %[line:tth value] %[line:comment]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Files::.\\Remove bad files tth$<%[mynick]> !tth remove %[line:tth value]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Files::.\\List stored tth values$<%[mynick]> !tth list&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Files::.\\Shows last number of tth values$<%[mynick]> !tth list %[line:0 - 999]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Files::.\\add junk file to database$<%[mynick]> !junk add %[line:filename]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Files::.\\Remove junk file from database$<%[mynick]> !junk remove %[line:filename]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..opmenu.."\\.::Manage Files::.\\Show junk files in database$<%[mynick]> !junk list&#124;|", nick)
end
if GetClass(nick) >=5 then
--A few actions
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\Broadcast a message$<%[mynick]> !bc %[line:Type your message here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\View current hubinfo$<%[mynick]> !hubinfo&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\View current serverinfo$<%[mynick]> !serverinfo&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\View current config$<%[mynick]> !gc&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\Register with hublist$<%[mynick]> !hublist&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\View last 100 bans$<%[mynick]> !lsbans 100&#124;|", nick)
--Manage flood settings
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Lock mainchat to regs only$<%[mynick]> != mainchat_class 1&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Unlock mainchat to all users$<%[mynick]> != mainchat_class 0&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Lock PM's$<%[mynick]> != classdif_pm 1&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Unlock PM's$<%[mynick]> != classdif_pm 10&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Lock searches$<%[mynick]> != min_search_chars 100&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Unlock searches$<%[mynick]> != min_search_chars 5&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Search interval$<%[mynick]> != int_search %[line:Time between searches in secs]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Search interval for regs$<%[mynick]> != int_search_reg %[line:Time between searches in secs for regs]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Toggle search interval$<%[mynick]> != delayed_search %[line:type 1 to enable 0 to disable]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Myinfo interval$<%[mynick]> != int_myinfo %[line:Myinfo interval in secs default 30]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Toggle myinfo interval$<%[mynick]> != delayed_myinfo %[line:type 1 to enable 0 to disable]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Main chat delay$<%[mynick]> != int_chat_ms %[line:Chat Delay in ms default 1000]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Toggle main chat delay$<%[mynick]> != delayed_chat %[line:Set to 1 for on and 0 for off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\Reconnect delay$<%[mynick]> != int_login %[line:Reconnect delay in secs default 15]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\PM flood period$<%[mynick]> != int_flood_pm_period %[line:PM Flood Period default 5]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Flood Control::.\\PM flood limit$<%[mynick]> != int_flood_pm_limit %[line:PM Flood Limit default 3]&#124;|", nick)

--Manage mainchat settings
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Set Mainchat Topic$<%[mynick]> !topic %[line:Enter topic here max 255 chars]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Min class set Topic$<%[mynick]> != topic_mod_class %[line:Enter min class to set topic default 5]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Min class use mainchat$<%[mynick]> != mainchat_class %[line:Min class to use mainchat default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Max msg size$<%[mynick]> != max_message_size %[line:Maximum size of message default 10240]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Max msg chars$<%[mynick]> != max_chat_msg %[line:Max chars for non regged default 256]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Max chat lines$<%[mynick]> != max_chat_lines %[line:Max number of lines per message default 4]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Chat delay$<%[mynick]> != int_chat_ms %[line:Time between msg sends default 1000]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Toggle chat delay$<%[mynick]> != delayed_chat %[line:0 = off 1 = on]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Chat default on or off$<%[mynick]> != chat_default_on %[line:0 = off 1 = on default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Activate multi chatrooms$<%[mynick]> !onplug chat&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Create Public Chatroom$<%[mynick]> !addroom %[line:Name of chatroom (no spaces)] -CC0 -ac0 -AC10 -c0 -t\"%[line:description for chatroom]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Create Reg Chatroom$<%[mynick]> !addroom %[line:Name of chatroom (no spaces)] -CC0 -ac1 -AC10 -c1 -t\"%[line:description for chatroom]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Create VIP Chatroom$<%[mynick]> !addroom %[line:Name of chatroom (no spaces)] -CC0 -ac2 -AC10 -c2 -t\"%[line:description for chatroom]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Create OP Chatroom$<%[mynick]> !addroom %[line:Name of chatroom (no spaces)] -CC0 -ac3 -AC10 -c3 -t\"%[line:description for chatroom]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Create SOP Chatroom$<%[mynick]> !addroom %[line:Name of chatroom (no spaces)] -CC0 -ac4 -AC10 -c4 -t\"%[line:description for chatroom]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Create Admin Chatroom$<%[mynick]> !addroom %[line:Name of chatroom (no spaces)] -CC0 -ac5 -AC10 -c5 -t\"%[line:description for chatroom]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Create Master Chatroom$<%[mynick]> !addroom %[line:Name of chatroom (no spaces)] -CC0 -ac10 -AC10 -c10 -t\"%[line:description for chatroom]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Create Custom Chatroom$<%[mynick]> !addroom %[line:Name of chatroom (no spaces)] -CC%[line:Country code (0 for default all)] -ac%[line:Min auto join class] -AC%[line:Max auto join class] -c%[line:Min class use room] -t\"%[line:description for chatroom]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Delete a Chatroom$<%[mynick]> !delroom %[line:Name of chatroom to delete]&#124;|", nick)
    VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Add Global Forbidden Words$<%[mynick]> !addforbid \"%[line:Enter forbidden words here]\" -f1 -C1 -r\"%[line:Enter kick message]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Add Custom Forbidden Words$<%[mynick]> !addforbid \"%[line:Enter forbidden words here]\" -f%[line:Flags default 7] -C%[line:Max class affected] -r\"%[line:Enter kick message]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\Delete Forbidden Words$<%[mynick]> !delforbid \"%[line:Word or string to delete]\"&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Chat::.\\List Current Forbidden Words$<%[mynick]> !lstforbid&#124;|", nick)

--Manage registration settings
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Register a user$<%[mynick]> !rn %[line:nick] %[line:Type a user class 1-10]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Set a users Password$<%[mynick]> !regpass %[nick] %[line:New password min 3 chars]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Change a users class$<%[mynick]> !regclass %[nick] %[line:New Class 1-10]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Set a personal msg$<%[mynick]> !regset %[nick] welcome_msg %[line:Personal msg to sent to user on login]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Delete a user$<%[mynick]> !regdelete %[line:nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Msg change passwd$<%[mynick]> != msg_change_pwd %[line:type the message here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Timeout set pass$<%[mynick]> != timeout_setpass %[line:in seconds default 300 = 5 mins]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Min class use registration$<%[mynick]> != min_class_register %[line:Minimum class to use registration 0-10]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Register class difference$<%[mynick]> != msg_change_pwd %[line:class difference default 2]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Protect this user$<%[mynick]> !regprotect %[nick] %[line:Type a level 1/11]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Unprotect this user$<%[mynick]> !regprotect %[nick] 0&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Show regd users counters by user level$<%[mynick]> !lsreg count&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Show all regd users$<%[mynick]> !lsreg all&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Show regd users whose nick contains pattern$<%[mynick]> !lsreg search %[line:word]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Show regd Users in class$<%[mynick]> !lsreg class %[line:class 1-10]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Show regd users by opnick$<%[mynick]> !lsreg by %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Check and show regd user logged in with nick and ip address$<%[mynick]> !lsreg check %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Registration::.\\Show regd users that have never logged in$<%[mynick]> !lsreg nologged&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::User Control::.\\Hide this users share$<%[mynick]> !regset %[nick] hide_share 1&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::User Control::.\\Unhide this users share$<%[mynick]> !regset %[nick] hide_share 0&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::User Control::.\\Hide this op$<%[mynick]> !regset %[nick] hide_keys 1&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::User Control::.\\Unhide this op$<%[mynick]> !regset %[nick] hide_keys 1&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::User Control::.\\Prevent search$<%[mynick]> !nosearch %[nick] %[line:Time in minutes]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::User Control::.\\Allow searching$<%[mynick]> !unnosearch %[nick]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::User Control::.\\Prevent CTM sending$<%[mynick]> !noctm %[nick] %[line:time]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::User Control::.\\Allow CTM sending$<%[mynick]> !unnoctm %[nick]&#124;|", nick)

--Manage basic hub settings
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Hub name$<%[mynick]> != hub_name %[line:Type your hub name here]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Hub description$<%[mynick]> != hub_desc %[line:Type your hub description here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Hub owner$<%[mynick]> != hub_owner %[line:Hub Owners Name]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Bot name$<%[mynick]> != hub_security %[line:Type the name of your hub bot here (no spaces)]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Bot description$<%[mynick]> !set hub_security_desc %[line:Hub bot description]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\OpChat name$<%[mynick]> !set opchat_name %[line:Type the name of your Opchat here (no spaces)]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\OpChat description$<%[mynick]> !set opchat_description %[line:Name]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 0 3|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Hub hostname$<%[mynick]> !set hub_host %[line:Type your hub address here with port default 411]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Max users$<%[mynick]> != max_users %[line:Max Users]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Max extra regs$<%[mynick]> != max_users %[line:Max extra registered users]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Max extra vips$<%[mynick]> != max_extra_vips %[line:Max extra vip users]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Max extra ops$<%[mynick]> != max_extra_ops %[line:Max extra ops]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Max extra admins$<%[mynick]> != max_extra_admins %[line:Max extra admins]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Global min share$<%[mynick]> != min_share %[line:Min share in MB (e.g. 1024)]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Min share regs$<%[mynick]> != min_share_reg %[line:Min share in MB (e.g. 1024)]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Min share vips$<%[mynick]> != min_share_vip %[line:default 1024 = 1gb]&#124;|", nick)
        VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Min share ops$<%[mynick]> != min_share_ops %[line:default 1024 = 1gb]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Min share ops$<%[mynick]> != min_share_ops %[line:default 1024 = 1gb]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Min share use hub$<%[mynick]> != min_share_use_hub %[line:default 1024 = 1gb]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Passive share factor$<%[mynick]> != min_share_factor_passive %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Global max share$<%[mynick]> != max_share %[line:default 10485760]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Max share regs$<%[mynick]> != max_share_regs %[line:default 10485760]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Max share vip$<%[mynick]> != max_share_vip %[line:MB default 10485760]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Max share ops$<%[mynick]> != max_share_ops %[line:MB default 10485760]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Hublist hostname$<%[mynick]> != hublist_host %[line:Type the name of the hublists you wish to register with seperated by space]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Hublist host port$<%[mynick]> != hublist_port %[line:Hublist port default 2501]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Hublist send minshare$<%[mynick]> != hublist_send_minshare %[line:Send minshare to hublist default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Register with hublist$<%[mynick]> !hublist&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Min class use hub$<%[mynick]> != min_class_use_hub %[line:Default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Min class use hub passive$<%[mynick]> != min_class_use_hub_passive %[line:Default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\Min class use main chat$<%[mynick]> != mainchat_class %[line:Default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
--Manage advanced hub settings
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Min class mod plugins$<%[mynick]> != plugin_mod_class %[line:Default 5]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Min class mod topic$<%[mynick]> != topic_mod_class %[line:Default 5]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Min class mod triggers$<%[mynick]> != trigger_mod_class %[line:Default 5]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Dest report chat$<%[mynick]> != dest_report_chat %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Dest regme chat$<%[mynick]> != dest_regme_chat %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Dest drop chat$<%[mynick]> != dest_drop_chat %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\User command start$<%[mynick]> != cmd_start_usr %[line:default +]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Op command start$<%[mynick]> != cmd_start_op %[line:default !]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Disable +me$<%[mynick]> != disable_me_cmd %[line:default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Disable +regme$<%[mynick]> != disable_regme_cmd %[line:default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Disable user +commands$<%[mynick]> != disable_usr_cmds %[line:default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Minimum search chars$<%[mynick]> != min_search_chars %[line:default 5]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Time between searches$<%[mynick]> != int_search %[line:default 45]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Time between searches for regs$<%[mynick]> != int_search_reg %[line:default 45]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Toggle search interval$<%[mynick]> != delayed_search %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Max passive search hits$<%[mynick]> != max_passive_sr %[line:default 15]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Varify active searches$<%[mynick]> != check_asearch %[line:default 0 = disable 1 = log 2 = notify 3 = kick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Time between logins$<%[mynick]> != int_login %[line:default 15]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Max class to int login$<%[mynick]> != max_class_int_login %[line:default 2]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Time between nicklist sends$<%[mynick]> != int_nicklist %[line:default 60]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Send nicklist on login$<%[mynick]> != nicklist_on_login %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Allowed nick chars$<%[mynick]> != nick_chars %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Min nick length$<%[mynick]> != min_nick %[line:default 3]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Max nick length$<%[mynick]> != max_nick %[line:default 30]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Nick prefix$<%[mynick]> != nick_prefix %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Nick prefix cc$<%[mynick]> != nick_prefix_cc %[line:default 0 = ALL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Time between MYINFO sends$<%[mynick]> != int_myinfo %[line:default 30]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Toggle MYINFO delay$<%[mynick]> != delayed_myinfo %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Logging level$<%[mynick]> != log_level %[line:default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Check CTM$<%[mynick]> != check_ctm %[line:default 0 args 1-3]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Check RCTM$<%[mynick]> != check_ctm %[line:default 0 args 1-3]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Check DNS$<%[mynick]> != dns_lookup %[line:default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Report DNS check$<%[mynick]> != report_dns_lookup %[line:default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Timer conn period$<%[mynick]> != timer_conn_period %[line:default 4]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Timer serv period$<%[mynick]> != timer_serv_period %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\min_frequency$<%[mynick]> != min_frequency %[line:default 0.5]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\step_delay$<%[mynick]> != step_delay %[line:default 50]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Max bandwidth$<%[mynick]> != max_upload_kbps %[line:default 2e+08]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Timer reloadcfg period$<%[mynick]> != timer_reloadcfg_period %[line:default 300]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Timeout key$<%[mynick]> != timeout_key %[line:default 60]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Timeout nick$<%[mynick]> != timeout_nick %[line:default 30]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Timeout login$<%[mynick]> != timeout_login %[line:default 600]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Timeout myinfo$<%[mynick]> != timeout_myinfo %[line:default 40]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Timeout flush$<%[mynick]> != timeout_flush %[line:default 30]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Timeout setpass$<%[mynick]> != timeout_setpass %[line:default 300]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Ul portion$<%[mynick]> != ul_portion %[line:default 50]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Use reglist cache$<%[mynick]> != use_reglist_cache %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Use penlist cache$<%[mynick]> != use_penlist_cache %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Add a trigger$<%[mynick]> !addtrigger  %[line:<trigger> [ -d <definition> ] [ -h <description help> ] [ -f <flags (see below> ] [ -n <send as nick> ] [ -c <min_class> ] [ -C <max_class> ]]!&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Delete a trigger$<%[mynick]> !deltrigger %[line:trigger]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Enable or disable antiraw$<%[mynick]> !antiraw %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Enable or disable antiproxy$<%[mynick]> !antiproxy %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Enable or disable antifakeshare$<%[mynick]> !antifake %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Enable or disable antinetlimiter$<%[mynick]> !antinetlimiter %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Enable or disable forbidden connection control$<%[mynick]> !conncontrol %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Add <connection_type> to database$<%[mynick]> !connadd <%[line:connection_type]>&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Remove <connection_type> from database$<%[mynick]> !connremove <%[line:connection_type]>&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Show connections types in the database$<%[mynick]> !connlist&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Enable or disable antimoglo$<%[mynick]> !antimoglo %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Enable or disable double connections kick$<%[mynick]> !doublekick %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Hub Settings::.\\.::Advanced::.\\Enable or disable Connect to Me Spam protection$<%[mynick]> !ctmspam %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Files::.\\Enable or disable search spy for porn$<%[mynick]> !pornosrc %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Files::.\\Enable or disable autoKick by TTH$<%[mynick]> !tthkick %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Files::.\\Enable or disable autoKick for junk files$<%[mynick]> !junk %[line:on or off]&#124;|", nick)
	
--Manage tag settings
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Show tags$<%[mynick]> != show_tags %[line:default 1 options 1-3]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Show tag descriptions$<%[mynick]> != show_desc_len %[line:default -1 = any other will limit to number of chars e.g. 4]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Description insert mode$<%[mynick]> != desc_insert_mode %[line:default 0]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Show tag email addresses$<%[mynick]> != show_email %[line:default = same as above]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Show tag speeds$<%[mynick]> != show_tags %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Show tag shares$<%[mynick]> != hide_share_all %[line:default 0 1 = enable global hide]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Allow no tag$<%[mynick]> != tag_allow_none %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Allow sock5 connections$<%[mynick]> != tag_allow_sock5 %[line:default 1]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Tag sum hubs$<%[mynick]> != tag_sum_hubs %[line:default 2]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Tag Settings::.\\Minimum tag class to ignore$<%[mynick]> != tag_min_class_ignore %[line:default 2]&#124;|", nick)

--Manage cc zones
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\Nick prefix cc$<%[mynick]> != nick_prefix_cc %[line:default 0 = all]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\CC zone 1$<%[mynick]> != cc_zone1 %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\CC zone 2$<%[mynick]> != cc_zone2 %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\CC zone 3$<%[mynick]> != cc_zone3 %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\IP zone 4 min$<%[mynick]> != ip_zone4_min %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\IP zone 4 max$<%[mynick]> != ip_zone4_max %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\IP zone 5 min$<%[mynick]> != ip_zone5_min %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\IP zone 5 min$<%[mynick]> != ip_zone5_max %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\IP zone 6 min$<%[mynick]> != ip_zone6_min %[line:default NULL]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage CC Zone Settings::.\\IP zone 6 min$<%[mynick]> != ip_zone6_max %[line:default NULL]&#124;|", nick)

--Manage the redirect settings
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 0$<%[mynick]> != redir_host0 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 1$<%[mynick]> != redir_host1 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 2$<%[mynick]> != redir_host2 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 3$<%[mynick]> != redir_host3 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 4$<%[mynick]> != redir_host4 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 5$<%[mynick]> != redir_host5 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 6$<%[mynick]> != redir_host6 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 7$<%[mynick]> != redir_host7 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 8$<%[mynick]> != redir_host8 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Redirect address 9$<%[mynick]> != redir_host9 %[line:Type the hub address:port here]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Max redirect slots to use$<%[mynick]> != redir_host_max %[line:Set this from 0-9]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Redirects::.\\Min class redirect$<%[mynick]> != min_class_redir %[line:Set this from 0-10]&#124;|", nick)

--Manage default message responses
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Welcome msg reg$<%[mynick]> != msg_welcome_reg %[line:Message to greet user]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Welcome msg vip$<%[mynick]> != msg_welcome_vip %[line:Message to greet user]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Welcome msg op$<%[mynick]> != msg_welcome_op %[line:Message to greet user]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Welcome msg cheef$<%[mynick]> != msg_welcome_cheef %[line:Message to greet user]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Welcome msg admin$<%[mynick]> != msg_welcome_admin %[line:Message to greet user]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Welcome msg master$<%[mynick]> != msg_welcome_master %[line:Message to greet user]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Message turn on chat$<%[mynick]> != msg_chat_onoff %[line:default]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Message change password$<%[mynick]> != msg_change_pwd %[line:default]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Message banned$<%[mynick]> != msg_banned %[line:default]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Message hub full$<%[mynick]> != msg_hub_full %[line:default]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Message nick prefix$<%[mynick]> != msg_nick_prefix %[line:default]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Message client downgrade$<%[mynick]> != msg_downgrade %[line:default]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Message client upgrade$<%[mynick]> != msg_upgrade %[line:default]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Messages::.\\Message replace ban$<%[mynick]> != msg_replace_ban %[line:default NULL]&#124;|", nick)

--Manage the plugins
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Load a plugin$<%[mynick]> !onplug %[line:Plugin name (e.g. msg)]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Unload a plugin$<%[mynick]> !offplug %[line:Plugin name (e.g. msg)]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Show loaded plugins$<%[mynick]> !lstplug %[line:Plugin name (e.g. msg)]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Reload a plugin$<%[mynick]> !replug %[line:Plugin name (e.g. msg)]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Custom plugin load$<%[mynick]> !plugin %[line:Path/Name (e.g. /usr/lib/liblua_pi.so)]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Enable offline messages$<%[mynick]> !onplug msg&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Disable offline messages$<%[mynick]> !offplug msg&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Enable statistics$<%[mynick]> !onplug stats&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Disable statistics$<%[mynick]> !offplug stats&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Enable multichat rooms$<%[mynick]> !onplug chat&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Disable multichat rooms$<%[mynick]> !offplug chat&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 0 3|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Enable forbidden words$<%[mynick]> !onplug forbid&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Manage Plugins::.\\Disable forbidden words$<%[mynick]> !offplug forbid&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Enable or Disable autoreg ops feed$<%[mynick]> !arfeed %[line:on or off]&#124;|", nick)
end
	if GetClass(nick) >= 10 then
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Change bot settings$<%[mynick]> !!gc&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Change op nick$<%[mynick]> !modop %[nick] %[line:new op nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Toggle ipcontroll$<%[mynick]> !ipcontrol %[line: on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Add allowed op ip range$<%[mynick]> !addrange %[nick] %[line:ip range]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Modify allowed op ip range$<%[mynick]> !modrange %[nick] %[line:old ip range] %[line:new ip range]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Show all allowed ops and their ip ranges$<%[mynick]> !lstrange&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Search in log for op nick$<%[mynick]> !log nick %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Search in log for ip$<%[mynick]> !log ip %[line:ip]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Delete a useless bot$<%[mynick]> !delrobot %[nick]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Clear all kicks$<%[mynick]> !clearkicks&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Extra::.\\Clear all bans$<%[mynick]> !clearbans&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\Reload config$<%[mynick]> !reload&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\Toggel antiredirect$<%[mynick]> !antiredirect %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\Toggel antiredirect warning$<%[mynick]> !antiredirectwarning %[line:on or off]&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\Restart hub$<%[mynick]> !restart&#124;|", nick)
	VH:SendDataToUser ("$UserCommand 1 3 "..hubmenu.."\\.::Actions::.\\Stop hub$<%[mynick]> !quit&#124;|", nick)
end
  return 0
end
function GetClass(nick)
        res, class = VH:GetUserClass(nick)
        if res and class then
                return class
        else
                return false
end
end
